The Maryland Court of Special Appeals has affirmed a lower court's ruling that upheld a lump-sum clause in a postnuptial agreement requiring the husband to pay the wife $7 million if he engaged in inappropriate sexual behavior again.