fix variable scoping issue in removal of expired template backups
handle multiple expired working snapshots when deleting them
make deletions silent to prevent contamination of variables