Revert "Wrong URL when search sub-category by tag if SEF is on #4314"

This reverts commit 1520a899e36618e5d8a7d6a96366467785b015ee.