Updated QueryRel tostring output.