fix bug in lang selection filtering