Fixed missing validation.