Fixed the two upgrade scripts breaking the migration from 1.0 to 1.1
Added a comment
Merge pull request #1360 from gem/fix-upgrade-scripts

Fixed the two upgrade scripts breaking the migration from 1.0 to 1.1