Fix error when setting more than one tag