I'll have a look at this. If this turns out to be the case, I'll consider rewriting the valid characters logic to a single string containing the entire alphabet of 64 characters, in a class constant. That way you save memory as well.