Fix bug where @match threw exception when nothing was matched.