I think I misunderstood what was happening here. You should probably check these values against the defined endpoint names but the behavior is good.