Fix TitanIndexQueryWrapper

Make TitanIndexQuery more similar to the query in gremlin-node