Fixed errors in refgen diagnostic formatting.