Add filter on the cookie