Fixed bug where directories were rendering twice in file-browser. Really this time!