Allow multilevel dropdown.
Change condition
Merge pull request #2251 from thiagotalma/master

Allow multilevel dropdown.