Make nonEmpty constraint also reject input containing whitespace only