Expression: correct handling of nested hierarchies.