Fixed history that stops the last message from being repeated.