Add some minvalue validation