Fix problem deleting app::Document that are inside a Context