[BUGFIX] Avoid "Illegal string offset 'data'" warning

Resolves: #52373