Hi. This happens both in my code and in the provided Final and Challenge versions of On This Day - when I click on Births in the sidebar I get deaths in the detail view, and when I click on Deaths in the sidebar I get births in the detail view. I thought this would be easy to track down, but so far no luck:
Oh, I see - it comes that way from the website. I guess when you ask for births on this day you already know the birthday, so the associated text provides the date of death, and vice versa for deaths.
That’s it. If you ever want to check the raw data, use the playground from chapter 1 and change the date to whatever you’re interested it. That saves the JSON to your Downloads folder so you can read it and confirm you’re seeing the correct events.