Just to let you know that removing the content of unread_messages table solved the problem.
Hope this help. By the way, I splitted this bug report in 2 to seperate the 2 issues and merged back the bug report about number required, not dict with the one submitted by Julien Valroff. Best regards.
signature.asc
Description: This is a digitally signed message part.