Fixed dirty account context after sending messages