Sidechain jassert iOS

Adding sidechain to an AUv3 plugin for iOS with isActivatedByDefault set to false triggers an assert on juce_audio_plugin_client_AUv3.mm:468:
jassert ([auBuses count] == **static_cast**<NSUInteger> (n));

This is what I have in the processor constructor:
.withInput ("Sidechain", AudioChannelSet::stereo(), false))

If I set it to true, the plugin works as it should. Is this correct behavior on iOS?
This flag has to be set to false on certain desktop hosts as it’s not guaranteed that the sidechain buffer is empty if the sidechain is not set within the DAW.