core: add support for negated tags in filters (closes #72)