you need to remove all accounts, reboot and then add them back...
Did you try doing an export from web-interface and checking if your contacts are still there?