Fix avro schema conv for arrays of optional type for #312.