Fixed compatibility with OTS

Indexes in OTS should work properly now