Fix filterTags function

  - The previous implementation of filterTags was not working. Fix that.
Merge branch 'annotator' of github.com:janastu/swtr into annotator