Fixed migrate for pre_req_groups