Fixed bug ending in messages being counted twice