Remove reset filters at the end of the createFilter function.