Fix boolean parameter handling at workflow runtime.

Broken with 011c8b2118be778eaf1ba952730ff876d6447ba9.

Note to self - update pause module when merging into next-stable.
Merge next-stable.