Under rare circumstances the user record could have already been deleted before...
Fix #6937 Fix #6837 Fix #6667