I have this function to filter posts by fields and taxonomies. The problem is that when I use the taxonomy filter it doesn\'t work and it returns all the posts without filte