Fix log upload menu in case all previous log files are deleted