Corrected ConcurrentModificationException occuring from the continue command.