For ENG-6115, exception was wrapped so check for cause when filtering