fixes a few bugs, foo=type wasn't triggering the required check, and foo=[1,2,3] will now trigger a choices check while foo=[int] will append integers to a foo list.