Allow required boolean fields to be set to false

This fix allows required boolean fields to be set to false, instead of raising java.lang.Exception: "Not an optional field"