[TO_STAGE] fix bz 1020517 - rescue missing min/max