Add max and min to Eachs limit of Input.

Fix problem in strings.