Using s3 storage with legacy file structure fails to use rootpath correctly

Using s3 storage with legacy filestructure fails to use rootpath correctly..

type or paste code here{
  "AwsS3Storage" : {
  "BucketName": "orthanc-tre",
  "Region" : "us-east-1",
  "AccessKey" : "",                    // optional: if not specified, the plugin will use the default credentials manager (available from version 1.3.0)
  "SecretKey" : "",                   // optional: if not specified, the plugin will use the default credentials manager (available from version 1.3.0)
  "ConnectionTimeout": 30,                  // optional: connection timeout in seconds
  "RequestTimeout": 1200,                   // optional: request timeout in seconds (max time to upload/download a file)
  "RootPath": "store",                           // optional: see below
  "StorageStructure": "legacy",               // optional: see below
  "EnableLegacyUnknownFiles": true,         // optional: see below
  "HybridMode": "WriteToObjectStorage",                 // optional: see the section related to Hybrid storage
  "UseTransferManager": false,              // optional: see below (available from version 2.3.0)
  "EnableAwsSdkLogs": true,                // optional: include AWS SDK logs in Orthanc logs
  "StorageClass": "STANDARD_IA"                // optional: see below (available from version 2.5.0)
  }
}

With the above config, the files are names store\4f\44\4f441875-adec-4e43-819d-7a51c529974f and are not put into the folder “store” they are put into the root of the bucket.