Fixed NullPointerException when removing clients who aren't logged in.