Cookie isExpired() was the giving flipped results.