Fixed bug with target that makes trees.