subparse: Don't read beyond array If num_open_tags is 0, we shouldn't try to get the "last" open tag since there isn't any.