Made sure identical tags would only be added once