Back in version 1.1.0 the 'global.version' variable is set to a table, therefore you will have to change the version check to something different
So swap this 'not global.version or global.version < 1' from the 'on_configuration_changed' function to just use a custom function like this:
local function isVersionOlder(version)
if not global.version then
return true
end
if type(global.version) == "table" then
return true
else
return global.version < version
end
end
So the if statement would be 'if isVersionOlder(1)' then instead.
That should fix the issue for migrating from the versions that had the line 'global.version = global.version or {}'.