Merge pull request #65 from ezze/master

Preventing a selection of TOC's last header when the first one is not reached