CDB-2891 Fixed rake migration downstream bug