• Hi there,

    I have seen the same issue on my production box.

    The problems looks like SQL Server works incorrectly with several sub-queries using <> on NOT IN expressions.

    There is a workaround. You can use JOINs instead of sub-queries in order to overcome this issue.