"==" & get ( accountPrivilegeSetName )
The variable doesn't really change the criteria that you are using so I see no way that that solves the original problem.
You might also consider setting up Record level access with a record lock expression that compares privilege set names. Then any find performed can automatically omit records created by users with other privilege sets. This is both better security and make for more flexible find options.