bug fix for issue 203

Ok, this time for sure!  Fixes problem with purged document not being removed from the TDDatabase document cache.