Fix for 'continue' in inappropriate place.