Add all subsequences to the tree.

This fixes the bug introduced in 350317c.