Fixed an argument name that caused reference to break. Thank you, unit tests.
Wrote some checks to handle non existant uuids in security group rules