minor fix in containsCookie