Bugfix for referrer checking in auto checks.