The findAudioTrack function in the prepare-av workflow operation handles should try matching the subtype of the flavor first, but it does always search for all elements
MediaPackageElementFlavor("*", videoTrack.getFlavor().getSubtype())
mediaPackage.getTracks(flavor) doesn't support "*" syntax.