updated validation of max ambig to allow 0