Fixed typo, was breaking counters/autoincrement.
When manually setting AI field, keep the counter ahead.

MySQL tables typically work this way.  I think it's natural to want auto-increment to have this functionality.
Merge branch 'unserialize_from_disk'
Merge pull request #29 from devinivy/master

Keep AI counter ahead of manually specified AI field values.