When revaluing without Closed Batch Registration and without batch, quantities in the revaluation were not updated

When revaluing the inventory of an item without Closed Batch Registration, where no batch was present, the quantities in the inventory revaluation were not updated.