Fixes #2497 - Join to the fact_values table when a user fact-filter is applied

There appear to be no tests at all for the user fact filtering, so I've added some. These tests fail correctly without the change to app/...