Clean messages on contact deletion, fixed crash on message from unknown contact