Fix issue if log file is the only file submitted.