Filter the data for tags