Fix disappearing contacts after site change

Contacts with multi line notes were not matched.
This was due to a not up-to-date replacement pattern
during the preparation of the loaded content.