Prevented blank tags from being added