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

Thanks! \o/