Fixes for maintenance-import-excel

Minor fixes for Maintenance - Import Excel. (From Win 7)