[#50578721]: correct the department assignment search
Remove whitespace