fix taxonomy term query