Force topology geom not null if not deleted

Only deleted topologies can have geom = NULL