Reworked getPhotosByArtist using Criteria API