added break to data 'for' loop

Since we're only looking for one value defined by the 'if' statement, it would be more efficient to stop the loop after the 'if' is run.