diff --git a/app/views/spree/admin/orders/index.html.erb b/app/views/spree/admin/orders/index.html.erb
index 151c79827f..a906679056 100644
--- a/app/views/spree/admin/orders/index.html.erb
+++ b/app/views/spree/admin/orders/index.html.erb
@@ -18,12 +18,12 @@
<%= link_to Spree.t('admin.orders.unpaid'),
- params.merge({q: {payment_state_not_eq: :paid, completed_at_not_null: 1}}).permit!,
+ params.merge({q: {payment_state_not_eq: :paid, state_eq: 'complete'}}).permit!,
class: "nav-link #{'active' if params[:q][:payment_state_not_eq] == 'paid'}" %>
<%= link_to Spree.t('admin.orders.unfulfilled'),
- params.merge({q: {shipment_state_not_eq: :shipped, completed_at_not_null: 1}}).permit!,
+ params.merge({q: {shipment_state_not_eq: :shipped, state_eq: 'complete'}}).permit!,
class: "nav-link #{'active' if params[:q][:shipment_state_not_eq] == 'shipped'}" %>
<% end if @show_only_completed %>