Will they be in the member group? If they are not in the group 6 and they haven't logged in within the specified number of days - then they are elibible for deletion.
If you want to add the admin & moderator groups (they are groups 1 & 2) you'd adjust it like this:
AND U_Groups NOT LIKE '%-6-%' AND U_Groups NOT LIKE '%-1-%' AND U_Groups NOT LIKE '%-2-%'
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.