Fixed crash when generating estimate with blank fields