Flattening userData filter to work around label bug