Track index in InteractionHistory now refers to the index in
interactions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>