query and conversion completed

better query for summary page
for (tree, status_str) in builds: