Fix bug when dealing with more than 2 isomeres.