precautionary trim of query lang input to Mulgara session