fix activity filtering for displayed/logged-in users