Minor fix to the media objects helper