Fixes an extra duplicate counter