Fix bugs assigning cover_photos.
The immediate parent is the last item in the aray