Bugfix with boolean fields in forms