fixed a bug with referral user count merging