Adding device queryset filters. Fix #2