Fixes issue with a failing test in DiscoResultTest