Fixed: files were not taken into account when detecting if folder was empty or not in public area