ugrid_functions: Fixed to support empty fnc arrays without error