Error message when copying material lines with 'Refresh Prices' checked

When copying material lines in a calculation, with the 'Refresh Prices' option checked, an error message could occur, as this would create unnecessary context.