fix bug in filtering of module import proposals