Hello ConTeXters,

I've noticed the following strange behavior of the index:
If an indexterm occurs twice (or more times) on the same page in different section levels, it will be also linked twice from the index.

Try the following minimal example:
---
\setupoutput[pdftex]

\starttext
\chapter{First Chapter}
Some text...\index{word}

\section {First Section}
Some text...\index{word}
Some text...\index{another word}
Some text...\index{another word}

\page[yes]
\completeindex

\stoptext
---

In the Index, you will get:

a
another word 1

w
word 1,1

Does anybody guess? Or is it really a bug?

Thanks,
Richard