Minor refactor of GatherResults.scala