Distinguish nested ul from top-level ul