Fixing the hierarchy of ElementAssignment