Added a function to create a list of good tags and ignore the others.