Fix Boolean Fields

Values 't', 'f', true, false, 1, 0, 'true', 'false' and nil are all valid values.  This change prevents boolean fields with values like 'some random string' from being valid.