Move plumber_results_clean() out to foreach on to ensure results are not processed more than once which corrupts them.