fix find by null
Merge pull request #420 from shmax/find-null

test for finding by null