Changed nil check to negative
Merge pull request #75 from zsweedyk/bugfix-validInputTest

Changed nil check to negative