Ah ok I see -- maybe change the comment on line 306 to say "We'll set the allowed locality level explicitly when we call resourceOffer()" to make it more clear what's happening here.