[BEAM-1714] Computation of frequencies for index coded bands fails