I see.  I wonder if we should switch to using https://github.com/chriso/node-validator?  Having to maintain our own code for things like this is not smart.