Fix some bugs in Menu filters.