Fixes issue with @ symbols in login name and a member group query