Apply hidden property to parent list items only.