switches back to checking rating range in code in ChallengeGraph

doing it in the template doesn't work because the "no challenges"
message won't be displayed if there are challenges but they are
outside the user's rating range

(github - fixes #62)