hi Rajvi,
That is the correct way to exclude Tablet devices from test, but if its still not working for you, then you can also use following option.
Add all list of tablets you want to exclude.
Or you can specify height and width of devices that you can exclude
Thanks,
Gauresh Kodag.