Fixed #23567 -- Made assertQuerysetEqual check Counter equality when ordered=False