Fix a wrong variable name in the `FromSelectMenu` class (see #6431)