Query param support in TreeMultiselectField (fixes #2438)

Thanks to @bummzack for the initial fix