refrain from calculating ranks in all parsers if asked; small optimizations to CTE parser