Tests for secondary indexes
Fixes for secondary indexes
Fixes for cursor ops