Fix bad data vector in tagging