In cases where items have closed batch registration but no closed location management, revaluation did not work correctly

For items with closed batch registration but without closed location management, revaluation did not work correctly if a location was filled in the batch. This could result in the following error message: "Cannot issue more from batch 'xxx' than is physically present."