Remove the attempt to migrate tasks when none exist