fix #950, find with falsy values should returns empty array

Relative test added.
Before the patch, it throws an Error: `TypeError: 'undefined' is not an object`.