Make sure userhash isn't nil when deleting orphans