Fix search functionality
Search is quite buggy:
- disabled users are still searchable (even though their account have no license assigned)
- not all people with same name are displayed in the result list
- search in desktop version shows different results than in web version
Please fix this, it's really hard to work without working search functionality.