Currently when generating query settings hash, 'reject' flag is not taken into account.
This shouldn't be a problem, as the hash is used when generating the plan cache key hash, however, queries with the 'reject' flags get killed.
Nevertheless, we should fix this bug.