fixing 'select all' when filtering with tag.