added filtering for device dropdown in switch create form