get_final_challenge_ids improved