Slight Improvement to Cookie check!