PHOENIX-1338 Logic to group together parallel scans is incorrect