Although come to think of it -- why does nobody ever complain about the fact that they had civilians and family members on Deep Space 9? That station was hardly safe; it was in the most strategically important and contested part of the quadrant. So how come you never hear people raising the same objections to Jake and Keiko and Molly -- not to mention civilians like Quark and his family -- being on the station that they raise to families and civilians aboard a Starfleet vessel? Isn't that a contradiction? If fans can live with it on DS9, why can't they live with it on TNG?
Because they station was threatened with destruction only a handful of times in seven seasons, which was helped by the fact that for most of the show it was a heavily armed space fortress which fried ships that could have and in one case owned a Galaxy-class.