Thanks. The behavior of the second condition wasn't clear to me in the original DJI phrasing.
The first one presents a dilemma for me as my backyard takeoff and landing real estate is limited to about a 5m chimney through the tree canopy. So if I'm more than 5m but less than 20m and RTH is initiated I'll need to respond quickly otherwise it'll be tree climbing time.