Fix issue 5124

Beam information on consecutive lines with units