[FIX] XQuery, GH-690: QueryContext#module(...) should check functions.