FAIMS-238 - fix the query with search relationship and fix the ui for multi-value