ORCOMP-27 Fixes issue with incorrect value in overwrite mode.