Fixed autocommit bug, this time