Fix collection purity index