Restricted App Smart Group with Enrollment Criteria?

New Contributor III

I'm in the process of making a restrict apps mobile device smart group but I need to limit it to only a select group of students. I assumed the following would work but it doesn't seem to pick up my test devices, any ideas?

( Enrollment Method: PreStage enrollment -is- class1
-or- Enrollment Method: PreStage enrollment -is- class2 )
-and- ( App Name -has- snapchat
or App Name -has- twitter )

Doesn't seem to pick up a test iPad that was enrolled via class2 with Snapchat installed.