Changed "allowed" to "valid"

I think it makes a little more sense.