Searches database correctly again but identifies incorrectly