Fixed parsing of parameter lists with empty params