Fixed total dirs/files message hiding condition

Fixes #5829
Merge pull request #5831 from owncloud/files-charatissue

Fixed total dirs/files message hiding condition