The Welsh side were sloppy for much of the second-half, but still came out on top