You're reproducing this logic in a lot of places; time to add a ```get_zone_ioctx()``` function?