Fix the bug #190 The deleted documents can not be open in inbox