Fixes #5512: remove all filters on the copy of list-compatible-inputs