between the call of rowCount() and data(), m_filteredOrders can be
altered by another thread. Protect against that.