Avoids repeated names on indexes

Signed-off-by: Rodolfo Cartas <rodolfo@blimp.mx>