Hi, I am getting confused in Congestion Avoidance. I know the class and drop precedence but when using WRED I am now stock.

I used CBWFQ as my congestion management and used WRED as my Congestion Avoidance.
I issued on my cli :
random-detect DSCP-based
random-detect DSCP AF11 20 30 10 (DSCP value, min, max and MPD)
random-detect DSCP AF12 24 40 10
random-detect DSCP AF21 19 40 10
In DSCP values AF 12 got class Priority value with drop prec of 2 higher than AF11 so it will be drop first. BUT here's the confusing part as mentioned on the cisco press when using WRED it is now base it's drop in the max value. In above value AF12 before start droping arriving packets it must reach 40.
In Af11 before start dropping it must reach 30. Does it mean the value in the DSCP class AF 12 drop probability is ignored? We know that 12 has higher drop prec than 11.
The more deeper I am facing QOS the more complicated it is....
please help....