Fix bug in misid mass calculation