Prevents 'undifined' from showing up in Lightbox