correct content in dashboard referrer/referral filters, and allow sorting by referrer_id