Fix S3LocationFilter: resource can be None (e.g. subscriptions)