fix search bug found by LL test
Merge pull request #2102 from bartcharbon/molgenis-1.2.2

fix Error: cannot call methods on fancytree prior to initialization; attempted to call method 'destroy'