added extra condition for switch in isLiteralQE