Fixed the matchings space creation bug