Fix the fetching of the active users
"More than 1000 expressions in a list are not allowed on Oracle."
One can't bind the arrays bigger than 1000 elements in a IN
or NOT IN
expressions, however fetching the same amount or bigger via SLQ is allowed. Thus, the previous solution where subquery was used needs to be reapplied.