use original logic if pagesize == 0 (this is possible), otherwise use custom bugfixed logic
use original logic if pagesize == 0 (this is possible), otherwise use custom bugfixed logic

littlebitselectronics/netsuite