Fixing issue that was making half of the results to be dumped