Correctly create pastnames in migration script

Fixes #99