Fixed a bug in the input filter

A boolean false value would cause the NotEmpty validator to fail
validation.