Fixed min_value and max_value not being ints.