The simplest one is that there are multiple sub classes of preferred stock ("shadow series") - eg for a Series A, there are Series A-1, Series A-2 shares that represent each cap. These classes each have their own liquidation preferences matched to the dollars put in originally. The YC-standard safe also contemplates this by referring to "safe preferred shares".
Another option is that the "extra" shares that the converting safeholders receive as a result of the difference between the conversion price and round price are given as common shares (which have no liquidation preference).