Improved the 'check loop' validation.