Fix expectation of number of queries in django 1.6.