Pass proper arguments to DefaultIffUsedActionFactory.generate_action