The other day, I was working on some Smart Albums in Photos, adding a Smart Album for each of the lenses I use with my FUJIFILM X-E3 camera. This seemed like a simple task; each Smart Album just needed to check two conditions:
Camera Model is X-E3 [and] Lens is 16.0 mm f/2.8 (as one example)
But after creating my Smart Albums, I noticed that some photos were missing, so I did a bit of experimenting. What I found was that Photos showed different values for the Lens field—even when the same lens was used on the same camera. Here's an example:
The only difference between those two photos is that one was taken in RAW mode, the other in one of my camera's JPEG modes.