Filter annotations get written properly