maxima bug error "multinomial(...)"



wxMaxima version: 13.4.0
Maxima version: 5.31.1
Maxima build date: 2013-09-24 09:49:12
Host type: i686-pc-mingw32
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8

[multinomial(3,[1,1,1,0]),multinomial(3,[1,1,0]),multinomial(3,[0,1,1]),multinomial(3,[1,0,1])/*error*/,multinomial(3,[1,0,1,1])/*error*/];

(%o175) [6,6,6,3,3] 

the last 2 are obviously incorrect - seems to happen whenever have a 0 as the 2nd argument atleast in these examples.