Update indexer.py

Suppress 'invalid' RuntimeWarnings in indexer.