Referer exceptions list logic corrected