fixed rql:to-string