Corrected filtering of stacktraces.