Fix tree selection for release 2
Merge branch 'molgenis/1.2.2' of https://github.com/molgenis/molgenis into molgenis/1.2.2
Fix code
Fix and clean code
Fix code
Merge pull request #2194 from jjettenn/molgenis/1.2.2

Fix tree selection for release 2