Changes in the view, unnecessary break because of formatting of the view caused the if loop to break