When generating data, write out another file which shows which groups have bad data. Resolves #14