fix bug in hashing migrations

fixes #7