fixed stupid bug in identifier optimization where non-images would cause thread to die
fixed stupid bug in identifier optimization where non-images would cause thread to die

johnko/kanso-photos,johnko/kanso-photos