Fix order state on magento 1.8.1.0

Same fix as https://github.com/quadra-informatique/Magento-Module-Cybermut/pull/2/