Bug fix for removing last order line of an order. In fact, the problem was linked to the fact that not all orderliness have a unit_discount that is not None.