Fix exclude filter method bug (modification of the given parameter list)