This was wrong.  We should only look at index if term is ==.