Error message when adding a line to a production order from the Production List with an open navigation tree

When a line was added to a production order from the Production List while the navigation tree was open, the following error message could appear: "System.Reflection.AmbiguousMatchException: Ambiguous match found".