Aggregating over empty foundset

With Servoy aggregations, it appears that an aggregation over an empty foundset gives a result which is NULL rather than zero. If so, is this “functions as designed” or a bug?

The problem is that when I try to use that value in a calculation, Servoy isn’t happy (I presume that “nan” refers to “not a number”?).

Is there anything I can do about this?

Thanks,
Neale.

The behaviour has changed it now returns zero when the foundset is empty, will be available in next release