base query working for index, no results