My working theory is that oxidation from dry hopping or racking to secondary (or in this case kegging without purging) causes the diacetyl pre-cursor (alpha acetolactate) to convert to diacetyl. I have read that this is a spontaneous reaction so trying to prevent conversion isn't as effective as...