Added a safety net for developers messing with autocommit.