Add the ability to filter devices from the list based on:
1. Template being applied2. Enforce template being enabled on the device.