Fix to avoid IndexOufOfBoundsException in case of requesting user thumbnails