Minor fixes for saving the results.