What is the use of the navigationHistory class ?

Why are the contents pof the path array spliced whenever a page is found which has been traversed before?

When i visit a page which has been visited earlier (ex : index.php) all pages i had visited in the middle are removed from the array and only this page remains. This is not a proper 'history' behavior.

Is this a bug?

(i have osCommerce2.2 milestone 2)