fixed bug with composite key indices in orient