     # 3. The CSS class is removed to show the children again
 
     # Called from UI when user clicks the collapse/expando buttons
-    toggleExpanded: -> @expand !@model.expanded
+    toggleExpanded: -> @expand(!@model.expanded)
 
     # Pass in `false` to collapse
     expand: (expanded) ->

      if @model and @model.expanded
        @$el.addClass('editor-node-expanded')
        @renderChildren()
      
      return @


    # Added check to only render when the model `@isExpanded`
    renderChildren: () ->
      Marionette.CollectionView::render.call(@)
      @triggerMethod('composite:collection:rendered')

    # Perform the edit action and then expand the node to show children.
    editAction: -> @model.editAction(); @expand(true)
