When producing an item with multiple active BOMs, sometimes a different BOM was used than what was shown on the production order line

When producing an item with multiple active BOMs, it could happen that a different BOM was used for the production order than was shown on the production order line after saving.