Fixed problem with ValidatedNotNullAttribute