Pull in fix for #1513 from 57963c4.

Failed to notice this when I was pulling in the updated JS.
Merge pull request #1572 from lift/boolean-value-roundtrip-fix

Boolean value roundtrip fix