Even if it was the case, but it is kind of massively easier to pick a book where you do not have to explain that.
Sometimes you just want to read a book and children books are not all that much fun for adults anyway. You might not want to then have to go into explaining that racism was normal for the author, but we think differently jadda jadda ... it is additional completely pointless complication for what was supposed to be good night story.