Fixed bugs  on competitions page and error on player detail page.
Merge branch 'master'