Ensured only JPEGs are returned for the album view