I fixed my pruning script, now it properly handles pruning of old backups. 7 daily backups, 4 weekly backups, and 6 monthly backups are kept.