Fixed bug in stats module; wrong logic for increasing amount of new messages.