Fix a crash on FilterMenu construction.