Organise correct order locking of shards in distributed AQL query.