Empty collections

Hi,

A patch to avoid exposition of empty collections.

Sincerely,

Daniel Berthereau
Infodoc & Knowledge management