User profile "top categories" URLs wrong for sub categories

@vinothkannans is it related to your recent work? If not I can give it a look by tomorrow.