Don't use cached resolved non-leaf nodes, it may be incomplete

Fixes #16