Issue with returnSize for system.historian.queryRawPoints()

The manual says returnSize parameter for system.historian.queryRawPoints() is “The maximum number of results to return”. When I set returnSize to anything greater than 0, the function returns an empty dataset.