Fixed another bug in the new /query/log page.