Merge "Ignore outputs with direct flag when selectOutput."