Add check for missing ARG0s in subraph selection.