Updated component flattener to include conditional derived variables
Updated component flattener to support DerivedVariables derived for single
children