Married HD wallets: Bloom filter adjustments

Bloom filter for married keychains will contain serialized redeem script and it's hash for each set of married keys.
What's up with that? Is it a bug introduced by this change?