Fix User_agent->is_referral()

The boolean logic was incorrect.