Fixed the quick search according to roles