Fixed a js bug for the pages list that caused collapsing/expanding of incorrect rows.