[Fix #889] Improve case condition checking in LiteralInCondition