fixed issue with database watch triggered syncs.