Added bugfix for boolean parameters.