I feel like there is some way to do this better with a `JOIN`