FIlter out non-analyzed classes while gathering ud-chains