Fixes #69 min and max validation check error