Correctly convert booleans to typed literals
Correctly convert booleans to typed literals

The previous implementation seemingly contained a bug in which the
database's value would not be set correctly.  Not sure which refactor
caused this issue, but this commit fixes the issue from mu-support's
end.

mu-semtech/mu-cl-support