Fix bug matching common value of 1-1 relationships