Fix properly paired SAM flag (0x2)
Fix XS tag
Get MD tag
Remove forgotten and unused function argument