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