Fix missing argument to null check.

Missing `typeArgument` in call to `notNull` results in validation always being successful.