Fixed comparing plain and base64 endoede folders id for localization and type issue