can only get one family to appear

i can't get the counter to reset past 0. even though i click a link it
always stays 0 and only displays the Lannisters who are position 0 in
the xml