Fix warning due to assert_action.