Fixed an issue where replacing children on expandNode do not sync selection state, fixes #131