Mark CDB_QueryStatements as IMMUTABLE and STRICT

Thanks Jatorre for pointing it out