Properly parse boolean strings.