anyResourceId was actually filtering on any resource type instead