basecurve: fix typo and ignore 0-cnt samples in fit