Internal: fixed bw comp in shard search request

Original indices were introduced in 1.4.0.Beta1 as optional, preceded by a boolean flag that told whether they were empty or not. We have to keep serializing as optional only for 1.4.0.Beta1 then.