modify query for cube area dimension to use UNION instead of FILTER