Fix backup task not delete unnecessary backups