Injected ID3 Metadata not being fully copied to transcoded HLS streams

I am sending RTMP streams to Wowza that are converted to HLS streams. I am using the example module to convert inject ID3 metadata into the HLS stream (https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream). I am injecting metadata several times per second and this works great for the source stream. However, for the transcoded streams the metadata is very intermittent (only about 10% is copied) and on playback it does not get returned in a continuous stream. Why is this happening? How can ensure all metadata injected into the source HLS stream is copied to the transcoded streams?