add handling for missing and nil gate values in yield.Flows