Fix missing commits bug in the default graph database.