Fixed a bug where boolean flags ended up nil to phantom.js.