Fix: Legacy API error when using fnGetNodes on an empty table