Replace tag_id with tags_id for #147.