Fixed incorrect behavior when initiallySelected parameter at nestedSets/Dynatree.php is given not as array