Added device type filter to search api (bug 842693)