Bug-fixing the get_gold_standard