PRD-3281: Fixed the sugar drill-down controller

It did not handle the path component correctly.