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