remove printing query

* Not all queries have this field. Overdue only has type=overdue