[Fixes #52124291] Fixes the problem where hidding trips as an anonymous user was broken.