These scrub pants run REALLY big in the waist.
Here is a list of the actual waist sizes for the more common sizes:

XL 50
L  44
M  40
S  38

The lengths seem to be correct per the chart.
I hope this helps.