[ticket/9737] Fix a few minor things in migrations

PHPBB3-9737