Address test failure https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master/2074/DaVinci/x86_64_v2-centos7-gcc12-dbg/tests