Support multiple matches in when action