Committing wallet unlocking for messages and correct message filtering