Oops, fix case where partition_results[n] could be null