Fixed debug mode IndexSet::noprime check.