Bug fix: now return proper record class name if table model view fails