diff --git a/app/views/logs/_log_filters.html.erb b/app/views/logs/_log_filters.html.erb
index a8075b45e..8f73a12a3 100644
--- a/app/views/logs/_log_filters.html.erb
+++ b/app/views/logs/_log_filters.html.erb
@@ -83,7 +83,7 @@
} %>
<% end %>
- <% if @current_user.support? || @current_user.organisation.managing_agents.count > 1 && request.path == "/lettings-logs" %>
+ <% if (@current_user.support? || @current_user.organisation.managing_agents.count > 1) && request.path == "/lettings-logs" %>
<%= render partial: "filters/radio_filter", locals: {
f:,
options: {
diff --git a/spec/features/organisation_spec.rb b/spec/features/organisation_spec.rb
index 5ea14c5a5..c5530d69e 100644
--- a/spec/features/organisation_spec.rb
+++ b/spec/features/organisation_spec.rb
@@ -194,7 +194,7 @@ RSpec.describe "User Features" do
end
check("years-2021-field")
click_button("Apply filters")
- expect(page).to have_current_path("/organisations/#{org_id}/lettings-logs?years[]=&years[]=2021&status[]=&assigned_to=all&user=")
+ expect(page).to have_current_path("/organisations/#{org_id}/lettings-logs?years[]=&years[]=2021&status[]=&assigned_to=all&user=&owning_organisation_select=all&owning_organisation=&managing_organisation_select=all&managing_organisation=")
expect(page).not_to have_link first_log.id.to_s, href: "/lettings-logs/#{first_log.id}"
end
end