Correcting how tags are grouped together in display