Adjusted the query
Merge pull request #10 from immersivelabs/fix/CARA-1734

[RFC] CARA-1734