Remove old queries.