fixed NOT IN case.
Merge branch 'begnini_cake2.2' into cake2.2
Add testcase
fix #73