fixing some bugs with the tags index collections