Referencing the security context as a filter value in queries