Cleanup and bug fixes to nucmd user delete