Fix issue XQL::migrate.