fix treerank query result rendering.