diff --git a/app/models/manager_refresh/inventory_collection.rb b/app/models/manager_refresh/inventory_collection.rb index b2821461fdb..f976663d67f 100644 --- a/app/models/manager_refresh/inventory_collection.rb +++ b/app/models/manager_refresh/inventory_collection.rb @@ -938,7 +938,7 @@ def db_relation(selection = nil, projection = nil) rel end - relation || [] + relation || model_class.none end # Extracting references to a relation friendly format, or a format processable by a custom_db_finder