Roof leaks in a valley can be prevented. If a metal flashing has been used, the most common problem is that the shingles were improperly cut. Gravity works with cuts in the tips of shingles to prevent water from leaking into your house during a rainstorm.