Addressed small bug with function lookup.

In some special cases the function was not found with parens-less LHS.
This should fix it.