It tries to spawn 4 traders per biome, but they only spawn in gateways and gateways are random on sides of cities, and there is a minimum distance check between traders, so success in somewhat random.
It is an occlusion issue and is on my list with dozens of other things.
No code changes were made that should effect infestations.