Don't use boolean result for multiplication directly.

Fixes bad signatures in Gnome Web v3.10.3.