Fixed issue where not all fit results were saved to file