fix null check in get_client_challenge_costs
Merge pull request #66 from lsentkiewicz/master

fix null check in get_client_challenge_costs