Small fix for the edit match functionality