Fixed validation rules for Log model