Fixed output of Stats.active_tags(), removing several bugs