First sketch of the filter (only works for tags)