fixup critical bug with filtering tags

Fixes #41
Closes #42