Better fix for commit when AutoCommit enabled warning

Force AutoCommit on explicitly (it is on by default, but let's leave no doubt) and remove the explicit commit command.