This commit fixes a memory leak that was being caused by hooks hanging on to the geofence group ids past the life of the object.