Fixed bugs in live sync db's