Fix scalar UDF searching.

Fixes #51
Merge pull request #52 from maurizi/scalar-udf-searches

Fix scalar UDF searching.