Fixed the bug due to which an image list was not displayed sometimes.
Deleting a Kubernetes cluster also deletes its security group.