Fixed broken true/false encoding to lua