More validations for warnings and notices