Confucianism does promote hierarchy, but it does not simply promote blind obedience to the state. It also promotes morality and duties of the rulers or those in the superior side of Confucian relationships. Some Confucian intellectuals in history have been known, like Confucius himself, to remonstrate against rulers when their actions did not measure up to Confucian principles. Moreover, in some cases, the duty to parents and the family may even trump duty to the ruler.
No, duty to the Ruler is always ahead of duty to the family, ZHONG (the chinese word for loyalty) is always ahead of XIAO (the chiense word for filial piety).
And Confuscius said many things, but one needs to focus on the things he stressed repeatly and the ideas that are used in indoctrinations rather than the one or two throwaway comments he made.
In the end theory doesn't matter, it is reality that counts. Just like communism, Confusicianism may sound high minded and lofty, in practice is a disaster for the people who live under its rule.