Refactors zones using the zone filter.