Fix LATEST-ID
Fix table superclass/id stuff