Making Secondary indexes compatible with new algorithm

This will modify the neqReq above, so both queries will be for 'gt'. You'll need to clone attributes to avoid this.

You also only need the attributes that actually occur as part of the key in indexes we are interested in. We should pass in an appropriate proj here to limit the selection to those attributes.