Make sure we can parse sample values
Fix min/max related bugs due to recent overloading of these