Fixed case trigger test.
Applied a workaround for the bad case evaluation plan (too many rows
returned).