Made the for loop break early.