Bug fix

Fix issue for when the number of parameter names exceed the number of
parameter types