Fix possible bug in core/ICF_Model when comparing num_rows()