Considering the action_ids list only if that is available