Added break in search for correctness