Index bug in rmsd printing.