Moved auto-increment fix to the correct table.