Prevent "IndexError" exception in "inspector" component.

Closes #204.