Fix #170 complete_common_string()