Fix a bug where syntax was detected but the dropdown wasn't set.