Fixing a bug when trying to delete snapshots that are used in image (i.e an AMI)