Fix exception when passing too many parameters.