Oh, I just copy pasted it from other validators... I don't event use the value variable for the `indexOf` call. Shame on me...