fine tuning of deleteModel handling: if no more related modeltypes present, cleanup lookupTable