diff --git a/src/plugins/sched/backfill/backfill.c b/src/plugins/sched/backfill/backfill.c
index 43a9d60682731153913772d38330b871e6e17565..c9125190a0bbd24fa931e3b7ae4a00e13fecf7f8 100644
--- a/src/plugins/sched/backfill/backfill.c
+++ b/src/plugins/sched/backfill/backfill.c
@@ -1774,10 +1774,8 @@ next_task:
 				else
 					job_ptr->start_time = now + 500;
 				if (job_ptr->qos_blocking_ptr &&
-				    (job_ptr->state_reason >=
-				     WAIT_QOS_GRP_CPU &&
-				     job_ptr->state_reason <=
-				     WAIT_QOS_GRP_WALL)) {
+				    job_state_qos_grp_limit(
+					    job_ptr->state_reason)) {
 					assoc_mgr_lock(&qos_read_lock);
 					qos_ptr = job_ptr->qos_blocking_ptr;
 					if (qos_ptr->blocked_until <