Fixed Bug that stopped output of warnings when logical parameters were not supplied