withAnyEntityIds