Gremlin query has strange behavior with range() and limit() - Apache TinkerPop