Fix notices in flag_hide_content_is_empty() when content is an array