[Bug XXXXXX] Fix stats for smart folder [r=vingtetun]