Fix bug DNN-4075: update sp to use outer join, so users who doesn't has record in userprofile table can be indexed.