Fixes 0000533 user contributed patch to stop files being deleted when an active user shares a username with an already deleted user.
Auto format.