Added filter to modify term and actions together.