Bug fixes in modelTable.cph