Fix for ghost vhosts cleanup.