Fix minor bug for collection search in assign role view, refs #20358