Fixed small bug introduced when adding 'new parameter'
Merge pull request #419 from jonmchan/addParameterBugFix

Fixed small bug introduced when adding 'new parameter'