Bugfixes: mastersync is now stored in correct database, time of last sync for mastersync is not returned