Fixing user session search.