Only show used indices in case of results

Fixes #110