Fixed #1331, Argument/Param checking does not work

During changes in the last sprint the checking of arguments and
parameters was broken. This commit restores that functionality.
Merge pull request #1335 from mvriel/feature/1331

Fixed #1331, Argument/Param checking does not work