Fix calculating size for empty folders

Fix for #3698. If no children were found of the folder, the method assumed that the size didn't have to be changed.


@icewind1991 @karlitschek @MTRichards @roha4000 @lmaestro