Fix scalar UDF searching.

Fixes #51