Avoid unnecessary space when there are no tags