CMS-1231 Content Manager - Make Relationship Input support multiple occurrences

Added clearFilter call before calling filter function to avoid
inconsisten bihavior