pileup_func: Bug fix when the Zm tag is missing

Closes #4