I do not loop through this array, I loop through the array with filters in and then check to see if that filter is in the above array to skip the clearing on that filter, cant call function contains on a null object thus i cast to array if null is passed in to prevent exceptions