set_difference: fixed reduce method