Fix state_changes to be destroyed when the associated order is destroyed