[BUGFIX] Consider all children to check if a sheet is empty

This patch considers all kinds of a sheet's children to determine if it is empty or not. Before, a sheet that didn't contain at least one field was considered empty thus sections vanished. Fixes #265.