First pass at device filtering