Fixed auto-increment install bug
Merge pull request #1460 from chemmett/bug-fix

Fixed auto-increment install bug