fixed rebuilding of folder tree which had been broken at 3.4.0beta1 (#103).