Dispensing a minecart onto rails will subtract from the minecart stack by 2, while having it dispensed normally will only consume 1 minecart.
Placing the minecart on rails will cause the minecart to be in a stack of -1, and the dispenser will continue to dispense minecarts normally, subtracting further from the minecart stack.