corrected error when $summary_data_array['SUMMARY'][0]['MHS av'] was empty

when $summary_data_array['SUMMARY'][0]['MHS av'] was empty it would trow an error.
(between line 542 and line 566)