Fix logic for some types of actions