Index: openacs-4/packages/acs-admin/www/auth/batch-job.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/batch-job.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/acs-admin/www/auth/batch-job.tcl 15 Sep 2017 07:01:22 -0000 1.15 +++ openacs-4/packages/acs-admin/www/auth/batch-job.tcl 22 May 2018 15:06:10 -0000 1.16 @@ -144,8 +144,8 @@ success_p, message, element_messages, - (select count(*) from users u2 where u2.user_id = user_id) as user_exists_p - from auth_batch_job_entries + exists (select 1 from users where user_id = e.user_id) as user_exists_p + from auth_batch_job_entries e where [template::list::page_where_clause -name batch_actions] [template::list::filter_where_clauses -and -name batch_actions] order by entry_id