Fix typo.
Restore sync search method. Needs still to be rewritten!