Fix when purging with no target