Fixed competition table page

Competition tables now work again. By some blind (bad) luck the tests were still passing due to a redirect. I have fixed the test so that it will actually fail if this happens again.