Picard's scene with Guinan was not in the original script. Melinda M. Snodgrass was told that they needed a "Ten-Forward" scene to accommodate Whoopi Goldberg coming in that week.
I took it as true, although I had a quick go at finding where this claim came from and am drawing a blank