Make sure certifications are removed after deleting a map or layer