Performance Issues

- [x] https://github.com/tnc-ba/strongTNC/commit/6ae842593105e8a5e1396ff93fc5bd46bab6f9c3#commitcomment-6547634
- [ ] SWID Inventory (E-mail Tobias)
- [ ] Inventory View Performance
- [ ] Log View Performance
- [x] TagStats Model
- [ ] Rename / Move methods (e.g ``get_installed_tags_with_time``, ``get_installed_tags_dict``)
Yes, the `__isnull` is necessary, bc we only want sessions with tags, `__tag` is the reverse lookup from the tag model. I cannot remember why I put the `distinct`there. As you said, sessions should always be distinct... And with the `orderBy`, you're right of course...