Now looks for wrong identities (those which do not correspond to upeople entries)
and looks for entries in identities similar to some string.
Minor issues fixed.