Fix warning and typo in Query.hh

Merged Jonathan Kunstwald requested to merge feature/jk-dev into develop

Merge request reports