Only try to delete primary username if there's a user [MJ-704]

This function is called on an on delete, after the user already was supposed to be deleted. Obviously that doesn't work too well. It should work much better now.

All tests pass.