Please check, I believe we should change ``not in`` => ``NOT IN``