Made invalid check more expressive