Fix check for production hstore migration.
Rails 3.2.16; fix #47