fix bug, when filter is null, linkage will not work
Merge /Users/eward/work/serviceone/mods/bidi