Fix bug in matching of eager loading in HasManyThrough.