Fix priority counts error on summary tables