Fix issue in boolean strings to number