Fixed parsing of min and max choices