make sure the partner id is included in the short link query when a user
is deleted (required to make the query efficient in terms of indexes)