Added last and first attributes to index tree node
Updated changelog for release 1.8.7
Bump version number