Better translation of MTOSI reservation states to BoD.

Now the secondary state is taken into account. Unfortunately it is not
always possible to correctly detect CANCELLED or PASSED_END_TIME,
since MTOSI has one final state. In the future we'll have to take into
account previous states to fix this.