Fix filter by term for publications (3.11)

#5373