key_commit: Fixed a refresh issue with the mail log