Added conditional logic to control when a time-entry-level item starts a new list.