Improved item hierarchy behavior.