..F....... [ZBX-8817] re-factored code for item history clearing