Implemented an additional logic branch condition for qualifying a record that can be migrated