I got a question from a client that I couldn't answer. So I build a very simple model and it looks like it might be a bug. In the original question a small piece of code was used to determine from which group to take a location, but in the attached model I used the standard case statement. In the first go it takes a location but in the 2nd round it can't find one. Can somebody (@Matthew Gillespie ?) take a look and determine if I do something wrong or if it is indeed a bug?