Fix slight issue with duplicate node child count on insertion in jstree