Fixed a bug restoring "falseish" texts.

"Falseish strings" were not restored correctly, such as "0".