Sonia chasing wishing stars only to go ruin diving and then have one land in front of Magnolias house is definitely one of the more questionable directing decisions of this arc.
For this is the anime's way to ensure this plot doesn't damage its episode-like nature for the whole saga, and as such we are at the mercy of what people dislike the most: Goh catching Pokemon willy-nilly with no buildup during filler episodes. I mean, for goodness' sake, they even inserted the falling Wishing Star scene the moment Goh got to Magnolia's (but after going to Milo's hometown...miles away from Magnolia's, even), and that was hardly too important to the big plot.
Had we gotten 5 episodes, Bede would have been rushed out of the door.
But I loved the Sonia, Magnolia, Goh interaction. Hope we get more in the rest of the arc.