Add get_common_matches method