fix scary but harmless warning in text invoice, from #13655