HPCC-10383 IE8 Issue with TreeMap and set "selectedItems"

Fixes HPCC-10383

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>