Fixed bugs in security group rule removal (issue #35)