I'm wondering if there's a potential performance bottleneck as the `TreePhoto` table becomes large (which I imagine it will). `photo_ids` could become a gigantic list that's eagerly evaluated and put into a big query string.