added better error handling for deleting PGP keys assigned to encrypted values