Merge pull request #50 from jlipps/master

fix up predicate search
1.7.6
fix up predicate search logic bug
and also make sure we don't base a search off a nil element