Fix expression index handling.

This fixes https://github.com/prometheus/promdash/issues/54
Merge pull request #56 from prometheus/fix/expression-index

Fix expression index handling.