Primary beams

You want “Preserve secondary beams over rests where possible” in Notation Options.