Fix possible non-existent open graph tag causing exception