[FIX] Migration bug

Merged Jose Luis Zanotti requested to merge DPI-299 into 12.0-stage

Closes DPI-299

Merge request reports