Commit handling bug fixed.