Wrong input check order.