see [comment above about boolean trap](https://github.com/mozilla-b2g/gaia/pull/16746/files#r11072997)