fix bug, when option.itemsCountOnePage === 0, "!option.itemsCountOnePage" is also true