[Lux] Forgot to add packet casting checks.