Allow passing stringy booleans as scope args

This implements the solution discussed in #403.

Fixes #403.