Port https://github.com/Gruntfuggly/todo-tree/pull/924 into this project.
Port Gruntfuggly#924 into this project.