Fixed upload_path check in unsecureElement in Parser.