I think this just wants to be `$(el).find('li:not(.dropdown)')`, then you don't need to recurse.