Sure, I can make that change if you prefer.  I originally was throwing an exception if it was neither, but decided the exception was not worth it.