Factor fields on batch transactions were not determined correctly for items with the unit 'Per ...'

In batch transactions, it could occur that so-called factor fields, such as Purchase Factor, Production Factor, Sales Factor, were not determined correctly for items with the unit 'Per ...'.