TEIID-2436: correcting the code to report modifiable flag correctly