Prevent some NPE on (auto)purge