Added support for indexed tuq query