Would it be worthwhile to check `portalSettings` for `null`?  For when someone's in a scheduled task or something?