Do not add things to the TQueryResult object in case the query was aborted or failed to start. Fixes a segv when processing a dataset where none of the files had been validated.
Changed paths: