Rafael Nadal is pleased to have reached the fourth round of the French Open, after beating David Goffin in four sets.