Selection summary is now displayed properly

Fixes #5775
Merge pull request #5804 from owncloud/files-selectionsummary

Selection summary is now displayed properly