Fixed new Swift unlocking bug from older version.

Is recomanded to use last software version, for best results.