Fixed a minor issue in updating matches.