don't filter with suffix in function match_first_last_and_suffix if input name doesn't contains suffix