Fixed bug where input parameters with same name were detected multiple
times