get_tag_value now grabs the value of the first matched tag