Pre collapse the query row.