fixes a bug in the RMSD applicability method