Implemented the fix from the previous commit to Management#addOrder()