This indeed will break the AJAX-loadable nodes by forcing them to be leaves, but we need to be careful removing this - there are lots of edge cases in the jstree, none of which covered with tests. @chillu do you remember if you had any specific workaround in mind when putting that in here?