Fixing bug of saving on filter