Fixed ID counting bug