Add mode on relationfilter : allow to use and/or mode for build query