"merkle tree is a binary tree" does not automatically imply that it "needs an even number of leaf nodes". Valid binary trees may contain an odd number of leaf nodes.