remove trailing white-spaces from query model source.

--HG--
extra : source : f18ad04545bdf58b0afceeb7103192fc21fd0832
Fixed: private queries should not be accessible to other users (#8729).

--HG--
extra : source : 0e2f8390940171411165c2eaf2e234430ec47a23
Makes custom queries available through the REST API (#5737).

--HG--
extra : source : 71535aaea66394e8db776086bae700f732f3bc65