Correct invalid check