I have the same problem will using pick/match: it doesn't respect the set analysis. See if this is what you are looking for in the challenge 2 (maybe it can help in here)...
Create a variable vCostType = match(cost_type,'BLOOD','DRUGS','IMPLANTS','WARDS AND NURSING')