fix validation of null params
Merge pull request #361 from candlepin/ckozak/fix_validate_null

fix validation of null params