Unarrested players don't respawn

When people get arrested, it teleports them to the jail, but if they get unarrested (when the time runs out) they just stay in the prison. The weird thing is, if I unarrest them using stick or command, it works.
I have this

-- telefromjail - Enable/disable teleporting from jail.
GM.Config.telefromjail                  = true
-- teletojail - Enable/disable teleporting to jail.
GM.Config.teletojail                    = true

so it should be OK but for some reason it isn’t. Someone please help me, this really needs to be fixed.

Thanks in advance.

I’m not sure about the config, but there are hooks you can use that gets called when the user has been unarrested, either respawn them or set their pos through that.