fix exit conditions on validate_missing