Fixed bug in s-match-multiple where final match is missed.