Fix of incomplete migration done in PR #5896

Fix of incomplete migration done in PR #5896