Checks for commands with wrong param lenghts.