We weren't adding the HTML id our JavaScript expects, and so the page didn't update the flag element.