fixup critical bug with filtering tags

Fixes #41