Fixed optBoolean to return true by default on config validation.