Fixed minor error in identifying substitutions.