Fixed `tag` command for empty set of tags.