Fix lock in ListRepository
Fix MailSubjectLog const