[MAL-1] Updated match Repository function.