Grandmother spent six months in jail after AI facial recognition misidentified her