_limits_helper: don't raise ValueError and instead return reasonable values if min=max