Fix string to boolean