Fix section entries were shown twice if toctree has been put under only directive
Merged in tk0miya/sphinx (pull request #278)

Fix section entries were shown twice if toctree has been put under only directive