Changed incoming search terms to downcase when writing into cookie so that cookie terms are all always lowercase