341 filtering

* Fixes many cases where we were failing to properly detect a visited site
* Changes an assumption that we only log third-party requests, we need to also log main site visit or it throws everything off
* Fixes multiple issues with filtering