Fix minimum/maximum discovery for integer params (from Hanspeter Portner)