added queryIndexedNodes to return nodes through both index + query