Fix date selection if CHAT_LOG_ARCHIVETIME is -1