Adjusted paramhandling to accept parameters with empty values (which is legal)