Fix crash when a discovered parameter is not supplied. closes #1866