Fixed exception where model could be removed and not nulled out in cache_map. So cache_map pointer just dangles....
Authored by: SumolX 2009-04-07
Parent: [r2217]
Child: [r2219]