[skip] Calculated maximum in a way that doesn't trip over nils