Added working If/Else statement to set a default tag.