Merge auto-index fixes. Fixes #7899.

svn path=/branches/release/libs/intrusive/; revision=83132