Fixed safe validator.