Fix bug when cleaning requests history. The total of requests to save are reset when a 'delete_all' command arrived.