Added param and condition for including context with children for list option.