Fixing bug with the emergency banner cookie setting code