Device filter with non-racked devices
### NetBox version

v3.2.4

### Python version

3.10

### Steps to Reproduce

1. Go to a location with more than 10 non-racked devices
2. Click **View full list**

### Expected Behavior

The filter should show non-racked devices

### Observed Behavior

A view of devices with the filters for *Location: foobar* and *Rack: None* show no devices
diff --git a/netbox/dcim/views.py b/netbox/dcim/views.py
index 6ee74377a..b1f94d785 100644
--- a/netbox/dcim/views.py
+++ b/netbox/dcim/views.py
@@ -355,7 +355,7 @@ class SiteView(generic.ObjectView):
 
         nonracked_devices = Device.objects.filter(
             site=instance,
-            position__isnull=True,
+            rack__isnull=True,
             parent_bay__isnull=True
         ).prefetch_related('device_type__manufacturer', 'parent_bay', 'device_role')
 
@@ -450,7 +450,7 @@ class LocationView(generic.ObjectView):
 
         nonracked_devices = Device.objects.filter(
             location=instance,
-            position__isnull=True,
+            rack__isnull=True,
             parent_bay__isnull=True
         ).prefetch_related('device_type__manufacturer', 'parent_bay', 'device_role')
 
['netbox/dcim/views.py']