Fixed handling of empty and null Excel data and header cells