fixing term_id vs id on terms_taxonomy query