Added handler to skip the validation for a custom SQL if the checks are already performed and cached. refs #454