added filter for tag relation