Avoid using the IdentityId, since it isn't possible to perform queries for nested values of serialized types.