checkParamNames: fixup buggy behaviour
Merge pull request #67 from zxqfox/hotfix/check-param-order

Hotfix/check param order