Yes, the presence of a hydrosalpinx can have a detrimental effect on the outcome of IVF and so it would require surgical management of the problem.