Added a little comprobation on index courses