fix crashes when cycling through menu with an active filter
fix crashes when cycling through menu with an active filter

jjthrash/kakoune,alpha123/kakoune,xificurC/kakoune,zakgreant/kakoune,flavius/kakoune,xificurC/kakoune,alexherbo2/kakoune,casimir/kakoune,jkonecny12/kakoune,jkonecny12/kakoune,occivink/kakoune,jjthrash/kakoune,mawww/kakoune,casimir/kakoune,danr/kakoune,mawww/kakoune,casimir/kakoune,xificurC/kakoune,danielma/kakoune,danr/kakoune,rstacruz/kakoune,ekie/kakoune,danielma/kakoune,Asenar/kakoune,Asenar/kakoune,zakgreant/kakoune,occivink/kakoune,ekie/kakoune,Asenar/kakoune,ekie/kakoune,elegios/kakoune,danielma/kakoune,Somasis/kakoune,danr/kakoune,alpha123/kakoune,jkonecny12/kakoune,alpha123/kakoune,lenormf/kakoune,danr/kakoune,elegios/kakoune,Somasis/kakoune,mawww/kakoune,lenormf/kakoune,danielma/kakoune,alexherbo2/kakoune,flavius/kakoune,Asenar/kakoune,Somasis/kakoune,alexherbo2/kakoune,flavius/kakoune,zakgreant/kakoune,rstacruz/kakoune,mawww/kakoune,jjthrash/kakoune,elegios/kakoune,occivink/kakoune,elegios/kakoune,rstacruz/kakoune,casimir/kakoune,alexherbo2/kakoune,flavius/kakoune,zakgreant/kakoune,lenormf/kakoune,rstacruz/kakoune,xificurC/kakoune,jjthrash/kakoune,Somasis/kakoune,occivink/kakoune,lenormf/kakoune,ekie/kakoune,jkonecny12/kakoune,alpha123/kakoune