appending previous filter to the current filter