Correct the prefix hierarchy depth