perf(data): Abort loops when row or task has been found

 When removing data the loop can be stopped when the correct row or task has been found