Make sure that the tree is updated correctly after reading WELSPECS
Merge pull request #125 from flikka/fix-treefromschedule-bug

Fix treefromschedule bug