........S. [ZBX-6353] improved history cache performance when it's flooded with data from less than 1000 items
           [merge ^/branches/2.2 -c r50155]