#661 Added min and max value to number conditions