Fixes issue: Fatal error: Cannot unset string offsets