Actually these should work, the field is declared as a boolean. What errors are given?