Removing redundant migrations