Here's a new AA plugIn function that should do the trick.
Drop this function into your aa custom code with your other plugins.
//AA Plugin - forceLowerCaseMulti 1.0.0 - Stewart Schilling : Search Discovery Inc. : 7/15/2018
//When called, all s.props, s.eVars, s.listVars, s.pageName, s.channel, s.hier, and s.products
//values will be forced to lower case.
//The 's' object must be passed into the function.
s.forceLowerCaseMulti = function(s) {
function filterS(key){
var keyMatch=new RegExp(/(^eVar[0-9].*)|(^prop[0-9].*)|(^hier[1-5].*)|(^list[1-3].*)|(^pageName$)|(^channel)|(^products$)/);
return (key.match(keyMatch));
};
Object.keys(s).filter(filterS).forEach(function(key){
if (typeof s[key]==="string"){
s[key] = s[key].toLowerCase();
}
});
};
Call it at the end of your doPlugins function like so:
s.forceLowerCaseMulti(s);