Fixes to MGI phenotype pipeline.