TEIID-2484 fix for row-based security issues