Fixed bug when returning revs_info for deleted records