added check for deleted journal entries