The logic assigning a configuration to a dependent resource spec is wrong because it doesn't properly reset the assigned object for each dependent.