Fix redirections for categories with the same slug (bug 1096558)