name of WITH query needs to be normalized to be case-insensitive