#AW-1589: added uid parameter for pw_userarchives_cron() and changed grouping in check_user_archives_database(): added grouping by role id