changes made to the comparison of the instance of a cookie object