Fix broken 1.8 tests
Fix broken downloads query test. #600