Fix bug introduced in automatic actions.