Prevent infinite loops in rackspace view

Somehow a user was able to get a location to be its own parent which caused an infinite loop. This assumes a location has no parent if it detects it is its own parent.