Added index to query instrument