Selection summary is now displayed properly

Fixes #5775

:one: byte change, WOO!

Please review @jancborchardt @karlitschek @DeepDiver1975 @kabum