dodelete function was commented out
added logic so that an running volume's snapshot is not considered when counting how many snapshots to keep