Fix where chat prefix would be counted twice