Warning Sophia about ghetto neighbourhoods is hardly racist. These days the term is more socio-economic than racial, even if the two are linked. There's going to be areas of the city that a single woman should not go at night. Probably areas not to go during the day too. And even when Sophia gets mugged, it's by both a white and black guy. If it was two black guys, then yeah, I'd definitely be concerned.
But there does appear to be some unconscious bias. My personal issue is that in a class of 12, there are 7 generic white guys. With Dre that makes 8 males. L&P could have taken any of Brian, Henry or Ethan, ideally two, made them female, and given them a bit more colour (Indian, Arabic, Asian). If this is set in the Americas, you could even go a Hawaiian/Polynesian route.