Fixed error when opening last_check log.