Strips missing code values out of nodrinks and changes the type to choices; fixes #236