Handle longer referrers.