bug fix for bammarkduplicates metrics collection