[FIX] Avoid infinite recursion in StaticUserFunc#databases(..).

Resolves issue #663.