Resolved bug related to database sync