Fix quota checks when max < min, or when promoting and max = 0