Prevent validation being done on min/max if attrs are undefined