Fixes bug in the league helper