Migration bugfix.