Fixing use of continue when not in a loop.

Was supposed to be a simple fix, sorry for all the white-space that got caught up.
Main issue start at line 1319. This was presumably a loop previously and the continue got left behind during refactoring. Reversed the logic of the test and blocked the code to be executed to make it work as expected.