Trimming the list of queries _before_ adding it to the logged collection. Saves a bit of memory.