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