check for nullity when querying by value
Merge pull request #87 from rfaugeroux/null_value

check for nullity when querying by value