Issue nucivic/dkan#178 fixes fatal error for deleted resource