Better photo sync by checking against file hashes

For some reason the recent query has always seemed to miss people. Not sure why. But checking against file hashes should be a foolproof way to ensure we always have the most recent photo.