fix #3806: don't allow Array(Uint8,-1)