XD-1338 Ensure Calculated Partition is Positive