Prevent double erasure of host during Session::purge_hosts