Fix bug creating html report when validation is skipped