tweaked comments
save filter_name cookie before ajax call, then restore value after ajax call is completed. Ajax call was changing the cookie value