Fix elasticsearch tcategory