Fixed Cookie Detection