Clear tags when no tags are given

Fixes #8