My question involves criminal law for the state of: Missouri

I used Marijuanna the day before my court and sentencing. Upon Drug testing, they are charging me with a violation. I wasn't actually on probation when I used the drug.. was I?